package com.gzx.plugin.website.access.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import vip.xiaonuo.common.handler.CommonSm1AesTypeHandler;

/**
 * @author zjt
 * @description
 * @date 2025/4/17 16:20
 */
@Data
@TableName(autoResultMap = true)
public class GzxAccessLog {

    /**
     * 自增主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 欠款人身份证号
     */
    @TableField(typeHandler = CommonSm1AesTypeHandler.class)
    private String debtorCardId;

    /**
     * 欠款人手机号
     */
    @TableField(typeHandler = CommonSm1AesTypeHandler.class)
    private String liaisonPhone;

    /**
     * 渠道
     */
    private String channel;

    /**
     * 官网ID
     */
    private Long configId;

    /**
     * 访问IP
     */
    private String ip;

    /**
     * 创建时间
     */
    private String createTime;
}
